package controllers;

import dao.IUserDAO;
import domain.User;

import java.util.Collection;

/**
 * Created by IntelliJ IDEA.
 * User: mikhail.krupitskiy
 * Date: 29.10.2010
 * Time: 17:32:23
 * To change this template use File | Settings | File Templates.
 */
public class Users {
    private IUserDAO user;
    private Collection<User> users;

    public Collection<User> getUsers() {
        return user.getAll();
    }

    public void setUser(IUserDAO user) {
        this.user = user;
    }

    public IUserDAO getUser() {
        return user;
    }
}
